/*
jQuery.ganttView v.0.8.0
Copyright (c) 2010 JC Grubbs - jc.grubbs@devmynd.com
MIT License Applies
*/

div.ganttview-hzheader-month,
div.ganttview-hzheader-day,
div.ganttview-vtheader,
div.ganttview-vtheader-item-name,
div.ganttview-vtheader-series,
div.ganttview-grid,
div.ganttview-grid-row-cell {
	float: left;
}

div.ganttview-hzheader-month,
div.ganttview-hzheader-day {
	text-align: center;
}

div.ganttview-grid-row-cell.last,
div.ganttview-hzheader-day.last,
div.ganttview-hzheader-month.last {
	border-right: none;
}

div.ganttview {
	border: 1px solid #999;
}


/* Horizontal Header */

div.ganttview-hzheader-month {
	width: 60px;
	height: 20px;
	border-right: 1px solid #d0d0d0;
	line-height: 20px;
}

div.ganttview-hzheader-day {
	width: 20px;
	height: 20px;
	border-right: 1px solid #f0f0f0;
	border-top: 1px solid #d0d0d0;
	line-height: 20px;
	color: #777;
}


/* Vertical Header  width: 350px; */

div.ganttview-vtheader {
	/*margin-top:  0px;	*/
	overflow: hidden;
	background-color: #fff;
}
/* 标题容器 */
div.ganttview-vtheader-title {
	height: 40px;
	overflow: hidden;
	color: #666;
	font-weight: bold;
	 font-size: 14px;
	 color:#000000;
	 padding-bottom:  1px;	 
}
/* 项目容器 */
div.ganttview-vtheader-item {
	overflow: hidden;
	color: #666;
}
/* 项目编码，允许分词换行 */
div.ganttview-vtheader-item-code {
	width:60px;
	padding-left: 5px;  
	border-top: 1px solid #d0d0d0;
	line-height: 16px;
	float:left;
    word-wrap:break-word;
}
/* 项目名称 */
div.ganttview-vtheader-item-name {
	width: 60px;
	padding-left: 5px;
	border-top: 1px solid #d0d0d0;
     border-left: 1px solid #d0d0d0;
	line-height: 16px;
	float:left;
    word-wrap:break-word;
}
/* 管理员 */
div.ganttview-vtheader-item-mgr {
	width: 50px;
	padding-left: 5px;
	border-top: 1px solid #d0d0d0;
    border-left: 1px solid #d0d0d0;
	line-height: 16px;
	float:left;
    word-wrap:break-word;
}

/* 项目描述 */
div.ganttview-vtheader-item-desc {
	width: 80px;
	padding-left:  5px;
	border-top: 1px solid #d0d0d0;
     border-left: 1px solid #d0d0d0;
	line-height: 16px;
	float:left;
    word-wrap:break-word;
}
 /* 整体节点容器 */
div.ganttview-vtheader-series  {
	float:left;
}
 /* 单个节点容器 ,兼容IE*/
div.ganttview-vtheader-series-node  {
	 float : none;
     clear:both;
}
/* 节点名称 */
div.ganttview-vtheader-series-name {
	width: 60px;
	height: 31px;
	border-top: 1px solid #d0d0d0;
    border-left: 1px solid #d0d0d0;
	line-height: 30px;
	padding-left: 5px;
	 float:left;
     overflow:hidden;
}
/* 执行人 */
div.ganttview-vtheader-series-exec {
	width: 50px;
	height: 31px;
	border-top: 1px solid #d0d0d0;
	line-height: 30px;
	padding-left: 5px;
		float:left;
        overflow:hidden;
        word-wrap:break-word;
}
/* 完成时间--内容 */
div.ganttview-vtheader-series-time {
	width: 90px;
	height: 31px;
	border-top: 1px solid #d0d0d0;
	line-height: 30px;
	padding-left: 5px;
		float:left;
        overflow:hidden;
}

/* Slider */

div.ganttview-slide-container {
	overflow: auto;
	border-left: 1px solid #999;
}


/* Grid */

div.ganttview-grid-row-cell {
	width: 20px;
	height: 31px;
	border-right: 1px solid #f0f0f0;
	border-top: 1px solid #f0f0f0;
}

div.ganttview-grid-row-cell.ganttview-weekend {
	background-color: #fafafa;
}


/* Blocks */

div.ganttview-blocks {
	margin-top: 40px;
}

div.ganttview-block-container {
	height: 30px;
	padding-top: 2px;
}
/* plan time */
div.ganttview-block0 {
	margin-top: 1px;
	position: relative;
	height: 12px;
	background-color:dodgerblue;
	border: 0px solid #c0c0c0;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
/* real time */
div.ganttview-block {
	margin-top: 0px;
	position: relative;
	height: 13px;
	background-color: darkred;
	border: 0px solid #c0c0c0;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

div.ganttview-block-text {
	position: absolute;
	height: 12px;
	font-size: 0.8em;
	color: #999;
	padding: 2px 3px;
}


/* Adjustments for jQuery UI Styling */

div.ganttview-block div.ui-resizable-handle.ui-resizable-s {
	bottom: -0;
}